import request from '@/utils/request'
export default {
    getGroupList(current,limit,selectObj) {
        return request({
          url: `/teacher/getAllGroup/${current}/${limit}`,
          method: 'post',
          data:selectObj
        })
      },
     getGroupNum(subjectid,classid){
        return request({
            url: `/teacher/get/groupNum/${subjectid}/${classid}`,
            method: 'get'

          })

     },
     removeStudentForm(stuId){
      return request({
        url: `/teacher/remove/member/${stuId}`,
        method: 'delete'

      })

     },
     addGroupMember(subjectId,addobj){
      return request({
        url: `/teacher/add/group/member/${subjectId}`,
        method: 'post',
        data:addobj
      })
      

     },
     getStudentGroupInfo(stuId){
       return request({
         url:`/student/get/group/info/by/${stuId}`,
         method: 'get'
         
       })
     }
     


}